package com.lhuc.service.impl;

import com.lhuc.mapper.UserMapper;
import com.lhuc.pojo.User;
import com.lhuc.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author lhucstart
 * @create 2021-05-29 20:17
 */
@Service
public class UserServiceImpl implements UserService {

    @Resource
    UserMapper userMapper;

    @Override
    public User queryUserByName(String name) {
        return userMapper.queryUserByName(name);
    }

}
